package com.tangyuewei.datasource.service;

import com.tangyuewei.datasource.domain.User;
    
/**
 *
 * @author Webster
 * <p>
 * Description:
 * </p>
 *
 * @date 2021/7/12 
 * @see com.tangyuewei.datasource.service
 */
public interface UserService{


    int deleteByPrimaryKey(Integer id);

    User selectByMaster(Integer id);

    User selectBySlave1(Integer id);

    User selectBySlave2(Integer id);

    void batchInsert(User record);

    int insertMaster(User record);

    int insertSlave1(User record);

    int insertSlave2(User record);

    int updateByPrimaryKeySelective(User record);

}
